<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">

<#include "../../common/header.html">

<style type="text/css">
.form-group  .checkbox {
	float: left;
	margin-top: 10px;
	margin-left: 10px;
}

/*
 * 解决高度塌陷问题clearfix
 */
.clearfix:before, .clearfix:after {
	content: "";
	display: table;
	clear: both;
}

.clearfix {
	zoom: 1;
}
</style>

</head>
<body class="hold-transition skin-blue sidebar-mini">
	<div class="wrapper">

		<!-- 	顶部和左侧菜单的jsp s -->
		<#include "../../common/menu.html">
		<!-- 	顶部和左侧菜单的jsp e -->

		<!-- Content Wrapper. Contains page content -->
		<div class="content-wrapper">
			<!-- Content Header (Page header) -->
			<section class="content-header">
				<h1>充值详情</h1>
			</section>

			<!-- Main content -->
			<section class="content" style="padding-bottom: 0px;" id="content">
				<!-- general form elements -->
				<div class="box box-primary" style="width: 1000px; margin: 0 auto;">
					<div class="box-header with-border">
						<h3 class="box-title">充值详情</h3>
					</div>
					<!-- /.box-header -->
					<!-- form start -->
					<form method="post" id="roleForm"  enctype="multipart/form-data">
					   	    
							<div class="box-body">
							
							<label>赠送用户</label>	
							<!-- checkbox -->
							<div class="form-group clearfix" id="userList" >								
								<#list userList as user>										
										<div class="checkbox">
 										<label> ${user.nickname!}(${user.phone!}) </label>
 										</div> 
 								</#list>
							
							</div>
							
							<div class="form-group" style="font-size: 18px;">
								<label>赠送卡片</label></br>
								${rechargeContent!}
							</div>

						</div>
						<!-- /.box-body  @click="submit"-->
						<div class="box-footer">
							<button type="submit" class="btn btn-primary">提交</button>
							<button type="reset" class="btn btn-primary" >清空</button>
						</div>
					</form>
				</div>
				<!-- /.box -->
			</section>
			<!-- /.content -->
		</div>

	</div>
	<!-- ./wrapper -->
</body>
<script>
$(function() {
	//校验器
	var formValidator = $("#roleForm").validate({
				onkeyup : false,
				focusInvalid : false,  //错误时,错误选项不会得到焦点
				focusCleanup : true,   //得到焦点时，清空错误提示信息			
				rules : {},
				messages : {}
			});
	
});

</script>
</html>